home *** CD-ROM | disk | FTP | other *** search
- Path: line030.nwm.mindlink.net!user
- From: emery@grebyn.com (David Emery)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Date: 2 Apr 1996 14:54:29 GMT
- Organization: MIND LINK! - British Columbia, Canada
- Message-ID: <emery-0204960656230001@line030.nwm.mindlink.net>
- References: <JSA.96Feb16135027@organon.com> <31582A63.4BE9@east.thomsoft.com> <4jeel1$erh@tpd.dsccc.com> <JSA.96Mar29195546@organon.com> <4jp388$d56@tpd.dsccc.com> <828445854snz@genesis.demon.co.uk>
- NNTP-Posting-Host: line030.nwm.mindlink.net
-
- In article <828445854snz@genesis.demon.co.uk>, fred@genesis.demon.co.uk wrote:
-
- > ANSI C doesn't define UNIX OS calls so isn't really relevant to your point.
- > Unix calls are reasonably standardised for C through the likes of POSIX and
- > X/Open which is natural because C is the core development language for
- > the platform.
- >
- > --
- > -----------------------------------------
- > Lawrence Kirby | fred@genesis.demon.co.uk
- > Wilts, England | 70734.126@compuserve.com
- > -----------------------------------------
-
- This is not exactly true. The POSIX.1 standard make extensive use of
- facilities in the ANSI C standard. Chapter 2 contains a list of library
- calls of ANSI C "included" in POSIX (e.g. malloc(), while Chapter 8
- contains C-specific facilities, that refine the behavior of some ANSI
- C library routines such as file stream IO.
-
- dave
-